package com.rop.znyx.sys.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rop.znyx.model.sys.RegionWare;
import com.rop.znyx.vo.sys.RegionWareQueryVo;

/**
 * <p>
 * 城市仓库关联表 服务类
 * </p>
 *
 * @author rop
 * @since 2023-06-22
 */
public interface RegionWareService extends IService<RegionWare> {

    /**
     * 列表查询
     */
    IPage<RegionWare> selectPage(Page<RegionWare> pageParam, RegionWareQueryVo regionWareQueryVo);

    /**
     * 添加开通区域
     */
    void saveRegionWare(RegionWare regionWare);

    /**
     * 取消/开通区域
     */
    Boolean updateStatus(Long id, Integer status);
}
